"""tenpro URL Configuration

The `urlpatterns` list routes URLs to views.py. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views.py
    1. Add an import:  from my_app import views.py
    2. Add a URL to urlpatterns:  path('', views.py.home, name='home')
Class-based views.py
    1. Add an import:  from other_app.views.py import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from apps.ten_info.views import Upload,Common,Userimage,SetPassword,Like
from django.urls import path

urlpatterns = [
    #上传头像
    path('upload/avatar/',Upload.as_view()),
    path('upload/common/',Common.as_view()),
    path('user/',Userimage.as_view()),
    path('user/password/',SetPassword.as_view()),
    path('users/like/<id>/',Like.as_view()),
]
